##
## $Id: Makefile.am,v 1.31 2008/01/30 19:53:41 joel Exp $
##

MANAGERS = all

rtems_tests_PROGRAMS = mp01-node1.exe
mp01_node1_exe_SOURCES = ../init.c ../task1.c ../system.h

dist_rtems_tests_DATA = mp01-node1.scn
dist_rtems_tests_DATA += mp01-node1.doc

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/..
AM_CPPFLAGS += -I$(top_srcdir)/../support/include

mp01_node1_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

LINK_OBJS = $(mp01_node1_exe_OBJECTS) $(mp01_node1_exe_LDADD)
LINK_LIBS = $(mp01_node1_exe_LDLIBS)

mp01-node1.exe$(EXEEXT): $(mp01_node1_exe_OBJECTS) $(mp01_node1_exe_DEPENDENCIES)
	@rm -f mp01-node1.exe$(EXEEXT)
	$(make-exe)

include $(top_srcdir)/../automake/local.am
